package com.bean.timer;


import java.awt.AWTEvent;
import java.io.Serializable;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author sammael
 */
public class TimerEvent implements Serializable{
    private int tickNumber;
    private long remainingTime;
    private Object source;
    
    public TimerEvent(Object source, int tickNumber, long remainingTime){
        this.source = source;
        this.tickNumber = tickNumber;
        this.remainingTime = remainingTime;
    }
    
    public int getTickNumber(){
        return tickNumber;
    }
    
    public long getRemainingTime(){
        return remainingTime;
    }
    
    public Object getSource(){
        return source;
    }
}
